using NUnit.Framework;
using NUnit.Framework.SyntaxHelpers;
using TddGenerator.Core.Domain;

namespace UnitTests.Domain
{
    [TestFixture]
    public class TemplateSetTester
    {
        [Test]
        public void Propery_accessors_should_set_and_get()
        {
            string classtemplate = "ClassTemplate";
            string fileExtension = ".cs";
            string interfacetemplatename = "interfaceTemplatename";
            string language = "csharp";
            string testclass = "testClass";

            TemplateSet templateSet = new TemplateSet();
            
            templateSet.ClassTemplate = classtemplate;
            templateSet.FileExtension = fileExtension;
            templateSet.InterfaceTemplate = interfacetemplatename;
            templateSet.Language = language;
            templateSet.TestClass = testclass;


            Assert.That(templateSet.ClassTemplate, Is.EqualTo(classtemplate));
            Assert.That(templateSet.FileExtension, Is.EqualTo(fileExtension));
            Assert.That(templateSet.InterfaceTemplate, Is.EqualTo(interfacetemplatename));
            Assert.That(templateSet.Language, Is.EqualTo(language));
            Assert.That(templateSet.TestClass, Is.EqualTo(testclass));

        }
    }
}